
import localAI.env.Enviroment;
import localAI.agents.*;
import localAI.env.def.Orientation;


/**
 *
 * @author Tomer
 */
public class Main {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        try {
            Enviroment env = new Enviroment("map.txt");
            env.addAgent(new HumanAgent(("benny"), 5, 3, Orientation.North), "Blue");
            env.addAgent(new GreedyAgent(("Bellman"), 3, 11, Orientation.North), "Red");
            env.addAgent(new GreedyAgent(("Ford"), 6, 16, Orientation.West), "Red");
            env.addAgent(new AutomatonAgent(("Patrol"), 2, 14, Orientation.West), "Red");
            env.run();
        }
        catch (Exception e){
            e.printStackTrace();
        }
        
        
    }

}
